# -*- coding: utf-8 -*-

# Copyright (c) JoinQuant Development Team
# Author: Huayong Kuang <kuanghuayong@joinquant.com>

def foo():
    try:
        1 / 0
    except Exception:
        return False
    return True


if not foo():
    raise
